home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: WinMod.h.
- * Generated using:
- * SOM Precompiler somipc: 2.18
- * SOM Emitter emith.dll: 2.33
- */
-
- /*
- *
- * Classes defined in this interface
- *
- */
-
-
- #ifndef SOM_ODWindowModule_h
- #define SOM_ODWindowModule_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default.
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef ODWindowModule
- #define ODWindowModule SOMObject
- #endif
- #include <RefCtObj.h>
-
- /*
- * Start of user-defined types:
- */
- #ifndef ODFrame
- #define ODFrame SOMObject
- #endif /* ODFrame */
- #ifndef ODFacet
- #define ODFacet SOMObject
- #endif /* ODFacet */
- #ifndef SOMClass
- #define SOMClass SOMObject
- #endif /* SOMClass */
- #ifndef SOMObject
- #define SOMObject SOMObject
- #endif /* SOMObject */
- #ifndef ODObject
- #define ODObject SOMObject
- #endif /* ODObject */
- #ifndef ODExtension
- #define ODExtension SOMObject
- #endif /* ODExtension */
- #ifndef ODRefCntObject
- #define ODRefCntObject SOMObject
- #endif /* ODRefCntObject */
- #ifndef ODWindowModule
- #define ODWindowModule SOMObject
- #endif /* ODWindowModule */
-
- /*
- * End of user-defined types.
- */
-
- #define ODWindowModule_MajorVersion 1
- #define ODWindowModule_MinorVersion 0
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define ODWindowModuleClassData d
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
-
- #ifdef OLDIBMSOMAPISUPPORT
- #define ODWindowModule_classObj somNewClassReference(ODWindowModule)
- #define _ODWindowModule ODWindowModule_classObj
- #define ODWindowModuleCClassData ODWindowModuleClassData
- #define ODWindowModuleNewClass(major,minor) somNewVersionedClassReference(ODWindowModule,major,minor)
- #endif
-
- /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
- #define ODWindowModuleMetaClass SOMClass
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=power
- #endif
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct ODWindowModuleClassDataStructure {
- #ifdef OLDIBMSOMAPISUPPORT
- SOMAny *classObject; /* always zero, use somNewClassReference instead */
- #else
- long zero;
- #endif
- somStaticClassInfo *sci;
- somDToken instanceDataToken;
- long reserved [3];
- somMToken InitWindowModule;
- somMToken ShowWindow;
- somMToken HideWindow;
- somMToken SelectWindow;
- somMToken DeactivateFrontWindows;
- somMToken ActivateFrontWindows;
- } SOMDLINK ODWindowModuleClassData;
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=reset
- #endif
-
- #if !defined(ODWindowModule_Class_Source) && !defined(SOM_Module_winmod_Source)
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import list ODWindowModuleClassData
- #endif
- #endif
-
-
- /*
- * New macro for ODWindowModule
- */
- #define ODWindowModuleNew() somNewObject(ODWindowModule)
-
- /*
- * Override method: somInit
- */
- #define ODWindowModule_somInit(somSelf) \
- SOMObject_somInit(somSelf)
-
- /*
- * New Method: InitWindowModule
- */
- typedef void (SOMLINK *somTD_ODWindowModule_InitWindowModule)(ODWindowModule *somSelf, Environment *ev);
- #define somMD_ODWindowModule_InitWindowModule "::ODWindowModule::InitWindowModule"
- #define ODWindowModule_InitWindowModule(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowModule, InitWindowModule) \
- (somSelf,ev))
- #ifndef SOMGD_InitWindowModule
- #if (defined(_InitWindowModule) || defined(__InitWindowModule))
- #undef _InitWindowModule
- #undef __InitWindowModule
- #define SOMGD_InitWindowModule 1
- #else
- #define _InitWindowModule ODWindowModule_InitWindowModule
- #endif /* _InitWindowModule */
- #endif /* SOMGD_InitWindowModule */
-
- /*
- * New Method: ShowWindow
- */
- typedef void (SOMLINK *somTD_ODWindowModule_ShowWindow)(ODWindowModule *somSelf, Environment *ev,
- ODPlatformWindow window,
- ODWindowLayer layer);
- #define somMD_ODWindowModule_ShowWindow "::ODWindowModule::ShowWindow"
- #define ODWindowModule_ShowWindow(somSelf,ev,window,layer) \
- (SOM_Resolve(somSelf, ODWindowModule, ShowWindow) \
- (somSelf,ev,window,layer))
- #ifndef SOMGD_ShowWindow
- #if (defined(_ShowWindow) || defined(__ShowWindow))
- #undef _ShowWindow
- #undef __ShowWindow
- #define SOMGD_ShowWindow 1
- #else
- #define _ShowWindow ODWindowModule_ShowWindow
- #endif /* _ShowWindow */
- #endif /* SOMGD_ShowWindow */
-
- /*
- * New Method: HideWindow
- */
- typedef void (SOMLINK *somTD_ODWindowModule_HideWindow)(ODWindowModule *somSelf, Environment *ev,
- ODPlatformWindow window);
- #define somMD_ODWindowModule_HideWindow "::ODWindowModule::HideWindow"
- #define ODWindowModule_HideWindow(somSelf,ev,window) \
- (SOM_Resolve(somSelf, ODWindowModule, HideWindow) \
- (somSelf,ev,window))
- #ifndef SOMGD_HideWindow
- #if (defined(_HideWindow) || defined(__HideWindow))
- #undef _HideWindow
- #undef __HideWindow
- #define SOMGD_HideWindow 1
- #else
- #define _HideWindow ODWindowModule_HideWindow
- #endif /* _HideWindow */
- #endif /* SOMGD_HideWindow */
-
- /*
- * New Method: SelectWindow
- */
- typedef void (SOMLINK *somTD_ODWindowModule_SelectWindow)(ODWindowModule *somSelf, Environment *ev,
- ODPlatformWindow window);
- #define somMD_ODWindowModule_SelectWindow "::ODWindowModule::SelectWindow"
- #define ODWindowModule_SelectWindow(somSelf,ev,window) \
- (SOM_Resolve(somSelf, ODWindowModule, SelectWindow) \
- (somSelf,ev,window))
- #ifndef SOMGD_SelectWindow
- #if (defined(_SelectWindow) || defined(__SelectWindow))
- #undef _SelectWindow
- #undef __SelectWindow
- #define SOMGD_SelectWindow 1
- #else
- #define _SelectWindow ODWindowModule_SelectWindow
- #endif /* _SelectWindow */
- #endif /* SOMGD_SelectWindow */
-
- /*
- * New Method: DeactivateFrontWindows
- */
- typedef void (SOMLINK *somTD_ODWindowModule_DeactivateFrontWindows)(ODWindowModule *somSelf, Environment *ev);
- #define somMD_ODWindowModule_DeactivateFrontWindows "::ODWindowModule::DeactivateFrontWindows"
- #define ODWindowModule_DeactivateFrontWindows(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowModule, DeactivateFrontWindows) \
- (somSelf,ev))
- #ifndef SOMGD_DeactivateFrontWindows
- #if (defined(_DeactivateFrontWindows) || defined(__DeactivateFrontWindows))
- #undef _DeactivateFrontWindows
- #undef __DeactivateFrontWindows
- #define SOMGD_DeactivateFrontWindows 1
- #else
- #define _DeactivateFrontWindows ODWindowModule_DeactivateFrontWindows
- #endif /* _DeactivateFrontWindows */
- #endif /* SOMGD_DeactivateFrontWindows */
-
- /*
- * New Method: ActivateFrontWindows
- */
- typedef void (SOMLINK *somTD_ODWindowModule_ActivateFrontWindows)(ODWindowModule *somSelf, Environment *ev);
- #define somMD_ODWindowModule_ActivateFrontWindows "::ODWindowModule::ActivateFrontWindows"
- #define ODWindowModule_ActivateFrontWindows(somSelf,ev) \
- (SOM_Resolve(somSelf, ODWindowModule, ActivateFrontWindows) \
- (somSelf,ev))
- #ifndef SOMGD_ActivateFrontWindows
- #if (defined(_ActivateFrontWindows) || defined(__ActivateFrontWindows))
- #undef _ActivateFrontWindows
- #undef __ActivateFrontWindows
- #define SOMGD_ActivateFrontWindows 1
- #else
- #define _ActivateFrontWindows ODWindowModule_ActivateFrontWindows
- #endif /* _ActivateFrontWindows */
- #endif /* SOMGD_ActivateFrontWindows */
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define ODWindowModule_InitRefCntObject ODRefCntObject_InitRefCntObject
- #define ODWindowModule_Acquire ODRefCntObject_Acquire
- #define ODWindowModule_Release ODRefCntObject_Release
- #define ODWindowModule_GetRefCount ODRefCntObject_GetRefCount
- #define ODWindowModule_somUninit SOMObject_somUninit
- #define ODWindowModule_InitObject ODObject_InitObject
- #define ODWindowModule_HasExtension ODObject_HasExtension
- #define ODWindowModule_AcquireExtension ODObject_AcquireExtension
- #define ODWindowModule_ReleaseExtension ODObject_ReleaseExtension
- #define ODWindowModule_Purge ODObject_Purge
- #define ODWindowModule_IsEqualTo ODObject_IsEqualTo
- #define ODWindowModule_SubClassResponsibility ODObject_SubClassResponsibility
- #define ODWindowModule_somUninit SOMObject_somUninit
- #define ODWindowModule_somUninit SOMObject_somUninit
- #define ODWindowModule_somDuplicateReference SOMObject_somDuplicateReference
- #define ODWindowModule_somCompareReference SOMObject_somCompareReference
- #define ODWindowModule_somRelease SOMObject_somRelease
- #define ODWindowModule_somFree SOMObject_somFree
- #define ODWindowModule_somCanDelete SOMObject_somCanDelete
- #define ODWindowModule_somGetClass SOMObject_somGetClass
- #define ODWindowModule_somGetClassName SOMObject_somGetClassName
- #define ODWindowModule_somGetSize SOMObject_somGetSize
- #define ODWindowModule_somIsA SOMObject_somIsA
- #define ODWindowModule_somRespondsTo SOMObject_somRespondsTo
- #define ODWindowModule_somIsInstanceOf SOMObject_somIsInstanceOf
- #define ODWindowModule_somDispatch SOMObject_somDispatch
- #define ODWindowModule_somClassDispatch SOMObject_somClassDispatch
- #define ODWindowModule_somCastObj SOMObject_somCastObj
- #define ODWindowModule_somResetObj SOMObject_somResetObj
- #define ODWindowModule_somPrintSelf SOMObject_somPrintSelf
- #define ODWindowModule_somDumpSelf SOMObject_somDumpSelf
- #define ODWindowModule_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_ODWindowModule_h */
-